#!/bin/bash

#scp monitor to app-agent and host-agent and make
scp -r $SDNST_ROOT/BEADS/monitors $SDNST_CP:~
ssh $SDNST_CP "cd monitors && make"
scp -r $SDNST_ROOT/BEADS/monitors $SDNST_DP:~
ssh $SDNST_DP "cd monitors && make"
#scp mininet_scripts to host-agents
scp -r $SDNST_ROOT/BEADS/mininet_scripts/* $SDNST_DP:~
#scp run controller scripts
scp $SDNST_ROOT/BEADS/run_scripts/* $SDNST_CP:~
